using Styx;
using Styx.TreeSharp;

namespace ChiWalker.Spell
{
    public class CastOnMyTarget : CastSpell
    {
        public CastOnMyTarget(int spellId,
            SimpleBooleanDelegate condition = null, ActionSucceedDelegate succeedRunner = null,
            bool preventDoubleCast = false) :
                base(
                spellId, ret => StyxWoW.Me.CurrentTarget, null, condition, succeedRunner,
                preventDoubleCast)
        {
        }
    }
}